package com.yunfei.core.utils.enmu;

/**
 * 签到和抽奖自定义请求状态码
 * @author ScienJus
 * @date 2015/7/15.
 */
public enum QianDaoChouJiangResultStatus {
    SUCCESS(0, "签到成功"),
    STATUS_1(1, "活动已经结束"),
    STATUS_2(2, "已签到"),
    STATUS_3(3, "今天次数已用完,请明天再来"),
    STATUS_4(4, "积分不足"),
    STATUS_5(5, "签到成功"),
    ERROR(-1, "错误");



    /**
     * 返回码
     */
    private int code;

    /**
     * 返回结果描述
     */
    private String message;

    QianDaoChouJiangResultStatus(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
